package com.rew.canteenchefs.models;

/**
 * 用户模板.
 *
 * Created by HuiWen Ren on 2016/12/1.
 */
public class EUser {

    private String name; // 姓名
    private String card_id; // 校园卡号
    private String password; // 密码（非初始）


    /**
     *仅包含校园卡与密码的初始化.
     *
     * @param card_id
     * @param password
     */
    public EUser(String card_id, String password) {
        this.card_id = card_id;
        password = password;
    }

    public EUser() {
        // 请留空
    }

    /**
     * 以下为setter和getter.
     *
     */
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCard_id() {
        return card_id;
    }

    public void setCard_id(String card_id) {
        this.card_id = card_id;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

}
